package com.logic.landseaserver.service;

import java.util.List;
import java.util.Map;

import com.logic.common.exception.BusinessException;
import com.logic.common.service.ICRUDService;
import com.logic.landseaserver.common.exception.LandseaException;
import com.logic.landseaserver.domain.Project;
import com.logic.landseaserver.ws.dto.*;

/**
 * @Author: Wells.Wei
 * @Date: 2017/4/12
 * @Description:
 */
public interface IProjectService extends ICRUDService {

    void addOrEditProject(ProjectReqDTO projectReqDTO) throws BusinessException,LandseaException;

    ProjectDetailDTO getProjectDetail(Integer id);

    ProjectDetailForFrontDTO getProjectDetailForFront(Integer id) throws BusinessException;

    List<Map<String,String>> getProjectListForFront(String areaCode, Integer isClassics) throws BusinessException;

    List<Map<String,String>> getProjectListForBackend(String areaCode, Integer isClassics) throws BusinessException;

    List<Map<String, String>> getProjectInfoWithArea();

    Project get(Integer integer) throws BusinessException ;

	KeeperDTO getKeeper(String areaCode);

	List<ExpenseDTO> getBaseInfo(Integer contractId) throws BusinessException;

    List<ExpenseDTO> getBaseInfoByPrjId(FeePrjDTO dto) throws BusinessException;
}
